package com.yonyou.marketing.app.api.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_APP_LOGINUSER_INFO")
public class TmAppLoginuserInfo {
    @Id
    @Column(name = "LOGIN_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TM_APP_LOGINUSER_INFO")
    private Integer loginId;

    @Column(name = "USER_ID")
    private Integer userId;

    @Column(name = "PHONE")
    private String phone;

    @Column(name = "DEVICE_ID")
    private String deviceId;

    @Column(name = "APP_VERSION")
    private String appVersion;

    @Column(name = "LOGIN_DATE")
    private Date loginDate;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "APP_OS_TYPE")
    private Short appOsType;

    /**
     * @return LOGIN_ID
     */
    public Integer getLoginId() {
        return loginId;
    }

    /**
     * @param loginId
     */
    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    /**
     * @return USER_ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return PHONE
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return DEVICE_ID
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * @param deviceId
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * @return APP_VERSION
     */
    public String getAppVersion() {
        return appVersion;
    }

    /**
     * @param appVersion
     */
    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    /**
     * @return LOGIN_DATE
     */
    public Date getLoginDate() {
        return loginDate;
    }

    /**
     * @param loginDate
     */
    public void setLoginDate(Date loginDate) {
        this.loginDate = loginDate;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return APP_OS_TYPE
     */
    public Short getAppOsType() {
        return appOsType;
    }

    /**
     * @param appOsType
     */
    public void setAppOsType(Short appOsType) {
        this.appOsType = appOsType;
    }
}